package com.sm.tool.entity.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @program: practice
 * @description:
 * @author: liqitian.
 * @create: 2019-11-15 14:57
 **/
@Data
@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel
public class ReturnData<T> {
    @ApiModelProperty(value = "业务状态码",example = "5509")
    private int code = 2003;
    @ApiModelProperty(value = "业务提示信息",example = "系统提示信息（xxxxx）")
    private String msg = "成功";
    @ApiModelProperty(value = "响应主题")
    private T Data;

}
